package com.kaili.basic.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by rzh on 18-12-17.
 */
@Data
public class BaseCustomerAddDto {
    @ApiModelProperty(name = "address", value = "客户地址")
    @NotEmpty(message = "客户地址不能为空")
    private String address;
    @ApiModelProperty(name = "companyName", value = "客户公司")
    @NotEmpty(message = "客户公司不能为空")
    private String companyName;
    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Long customerId;
    @ApiModelProperty(name = "name", value = "客户姓名")
    @NotEmpty(message = "客户姓名不能为空")
    private String name;
    @ApiModelProperty(name = "settlement",value = "结算模式")
    private Long settlement;
    @ApiModelProperty(name = "site", value = "所属网点")
    private Long site;
    @ApiModelProperty(name = "telephone", value = "联系电话")
    @NotEmpty(message = "联系电话不能为空")
    private String telephone;
    @ApiModelProperty(name = "customerCode", value = "客户编号")
    private String customerCode;

    @ApiModelProperty(name = "countyNum", value = "区县ID")
    private Integer countyNum;
    @ApiModelProperty(name = "cityNum", value = "城市ID")
    private Integer cityNum;
    @ApiModelProperty(name = "provinceNum", value = "省份ID")
    private Integer provinceNum;
    @ApiModelProperty("经度")
    private String longitude;
    @ApiModelProperty("纬度")
    private String latitude;
}
